package com.example.pengxiangedupay.common.utils;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;

public class OrderNoUtils {

    public static String getOrderNo(){
        String time = new SimpleDateFormat("yyyyMMddHHmmss").format(new Date());
        String user = UUID.randomUUID().toString().replace("-","").toUpperCase();

        String orderNum = time+user;
        return orderNum;
    }
}
